package com.fjzx.frame;

import com.alibaba.android.arouter.launcher.ARouter;
import com.fjzx.androidframe.base.application.BaseApp;
import com.fjzx.androidframe.global.util.XPreferences;

/**
 * @author xiongyongcong
 */
public class App extends BaseApp {
    private static App ins;

    public static App ins() {
        return ins;
    }

    @Override
    public void onCreate() {
        super.onCreate();
        ins = this;
        ARouter.init(this);
        XPreferences.init(this, "fjzx_prefs");
    }

    @Override
    protected boolean isDebug() {
        return BuildConfig.DEBUG;
    }
}
